#ifndef GX_FR_EDITOR_MOVESTATE_H
#define GX_FR_EDITOR_MOVESTATE_H

#include "State.h"
#include "BoxTweaker.h"

namespace FinalRendering
{
	namespace Editor
	{	
		class MoveState : public State
		{
		private:
			View * capturedView;
			int lstX, lstY;
			bool autoPop;
		public:
			MoveState(View * view = 0, int x = 0, int y =0, bool _autoPop = false);
			virtual void MouseDown(View * view, UIMouseEventArgs & e);
			virtual void MouseUp(View * view, UIMouseEventArgs & e);
			virtual void MouseMove(View * view, UIMouseEventArgs & e);
		};
	}
}

#endif